package com.demo.entity;

import java.sql.Timestamp;

/**
 * 后台登录用户
 */
public class User {
    private int id;
    /**
     * 用户昵称
     */
    private String userName;
    /**
     * 运营用户QQ
     */
    private String qq;
    /**
     * 手机
     */
    private String phone;

    private String name;
    /**
     * 工号
     */
    private String jobNum;
    /**
     * 密码
     */
    private String password;
    /**
     * 性别：0女,1男
     */
    private Integer gender;

    /**
     * 账户类型:1内部账户，2外部注册
     */
    private String type;
    /**
     * 部门id
     */
    private int depid;
    /**
     * 部門名称
     */
    private String depName;
    /**
     * 公司ID
     */
    private int comid;
    /**
     * 公司名称
     */
    private String comName;

    /**
     * 在职状态：1在职，0离职，3删除
     */
    private String status;

    /*
    *创建时间
     */
    private Timestamp createAt;
    /**
     * 更新时间
     */
    private Timestamp updateAt;

    public Timestamp getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public Timestamp getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String userPhone) {
        this.phone = userPhone;
    }

    public String getJobNum() {
        return jobNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setJobNum(String jobName) {
        this.jobNum = jobName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getDepid() {
        return depid;
    }

    public void setDepid(int depid) {
        this.depid = depid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public int getComid() {
        return comid;
    }

    public void setComid(int comid) {
        this.comid = comid;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    @Override
    public String toString() {
        return "User [userName=" + userName + ", phone=" + phone + "]";
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }
}
